package com.xnyzc.lhy.mis.service.punishment;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xnyzc.lhy.common.entity.Rv;
import com.xnyzc.lhy.mis.entity.punishment.OaDUserPenaltyDetail;
import org.springframework.stereotype.Service;

import java.util.Date;


/**
 * <p>
 * 违规司机详情表 服务类
 * </p>
 *
 * @author cuixiaojian
 * @since 2019-10-27
 */
public interface IOaDUserPenaltyDetailService extends IService<OaDUserPenaltyDetail> {
    /**
     * 根据 id 查询司机处罚信息
     * */
    Rv queryOaDUserPenaltyDetail(Long driverId);

    /**
     * 导出处罚记录
     * */
    Rv exportPunishmentRecord(Date startDate, Date endDate);

    /**
     * 导出待处罚司机
     * */
    Rv exportDriverPunished(Date startDate, Date endDate);
}
